package com._520it.crm.mapper;

import com._520it.crm.domain.InsuranceInfoChange;
import com._520it.crm.query.InsuranceInfoChangeQueryObject;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface InsuranceInfoChangeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(InsuranceInfoChange record);

    InsuranceInfoChange selectByPrimaryKey(Long id);

    List<InsuranceInfoChange> selectAll();

    int updateByPrimaryKey(InsuranceInfoChange record);

    int queryForCount(InsuranceInfoChangeQueryObject queryObject);
    List<InsuranceInfoChange> queryForList(InsuranceInfoChangeQueryObject queryObject);

    InsuranceInfoChange approvalByInsurancePolicyNumber(String insurancePolicyNumber);

    void insertMutiplate(InsuranceInfoChange insuranceInfoChange);

    //查询所有批改表中有审核时间的数据
    List<InsuranceInfoChange> queryForRows();
}